Skip to content

release: v3.2.4 — cap ALL flat viz sections (final page-size pass) - #110

Merged
avrabe merged 1 commit into
mainfrom
release-v3.2.4
Jul 15, 2026
Merged

release: v3.2.4 — cap ALL flat viz sections (final page-size pass)#110
avrabe merged 1 commit into
mainfrom
release-v3.2.4

Conversation

@avrabe

@avrabe avrabe commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Post-deploy verification of v3.2.3 showed self-analysis.html still ~4.9 MB — the points cap worked, but Diagnostics (~1.7 MB), Call graph (~1.7 MB), Trap checks, Functions, and the fact sections were uncapped.

Fix

  • Every flat section capped — shared SECTION_ROW_CAP (100) + "showing N of M" note: Diagnostics, Call graph, Trap checks (POTENTIAL-TRAPs first), Functions, gaps, handle/float/pentagon facts.
  • Call-graph diagram skipped for large graphs (the Mermaid source of a thousands-edge graph was ~1.7 MB itself).
  • Comprehensive test all_flat_sections_capped_page_stays_small: blows up every section to 4,000 entries, asserts page <1 MB. This is the guard that would have caught v3.2.2/v3.2.3.

Full un-capped data stays in guidance.json. Bump 3.2.3 → 3.2.4. 25 viz tests, clippy + fmt clean. rivet validate PASS.

🤖 Generated with Claude Code

After v3.2.3 the deployed self-analysis.html was still ~4.9 MB: capping program
points alone wasn't enough — Diagnostics (~1.7 MB), Call graph (~1.7 MB), Trap
checks, Functions, gaps/handle/float/pentagon each render one row per entry, and
scry-on-scry produces thousands of each.

scry-viz: a shared SECTION_ROW_CAP (100) + cap_note applied to every flat
section; the call-graph Mermaid diagram is skipped for graphs > cap (a
thousands-edge Mermaid source was itself ~1.7 MB). Trap checks show POTENTIAL-TRAP
first so the cap never hides one. New comprehensive test blows up EVERY section
to 4000 entries and asserts the page stays <1 MB (would have caught the earlier
partial fixes). Full un-capped data remains in guidance.json.

Version 3.2.3 → 3.2.4 + Cargo.lock. 25 viz tests, clippy + fmt clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@avrabe
avrabe merged commit 91c858c into main Jul 15, 2026
9 checks passed
@avrabe
avrabe deleted the release-v3.2.4 branch July 15, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant